﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="ברוכים הבאים ל- KnessetStat" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    &nbsp;<asp:ObjectDataSource ID="TodayDataSource" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetToday" SortParameterName="sortBy" TypeName="KnessetCore.DataObjectAccess.TimeAccess">
            <SelectParameters>
                <asp:Parameter DefaultValue="" Name="sortBy" Type="String" />
            </SelectParameters>
        </asp:ObjectDataSource>
    &nbsp;&nbsp;
    <table id="TABLE1" >
        <tr>
        <td align="center">
            <asp:Label ID="lblDate" runat="server" Text="Label"></asp:Label>
            <div class="title"></div>
        </td>
        </tr>
        <tr>
            <td style="width: 100%" align="center">
            <p class="hebrew" style="text-align: center;">
        <asp:GridView ID="attendingHoursGrid" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="Black" GridLines="Vertical" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" AllowSorting="True">
            <Columns>
                <asp:HyperLinkField DataNavigateUrlFields="KnessetLink" DataNavigateUrlFormatString="http://www.knesset.gov.il/mk/heb/{0}"
                    DataTextField="Name" HeaderText="שם" SortExpression="Name" />
                <asp:BoundField DataField="TotalForTimePeriod" HeaderText="סה&quot;כ שעות היום" SortExpression="PeriodTimeSpan" />
                <asp:BoundField DataField="AverageForTimePeriod" HeaderText="ממוצע ליום" SortExpression="AverageTimeSpan" />
            </Columns>
                <FooterStyle BackColor="#CCCC99" />
                <RowStyle BackColor="#F7F7DE" />
                <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
    </p>
            </td>
        </tr>
    </table>
    
    
</asp:Content>

